package com.checker.springcloud.dao;

import com.checker.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
//@Repository
public interface PaymentDao {
    public int insertPaument(Payment payment);

    public Payment getPaymentById(@Param("id")Long id);
}
